<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('AdminVolume/index')}">体积预估管理</a></li>
			<li><a href="{:url('AdminVolume/add')}">添加体积预估</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="{:url('AdminCategory/listOrder')}">
			<div class="table-actions">
				<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
			</div>
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						
						<th width="50">ID</th>
						<th>排序</th>
						<th>分类</th>
						<th>体积名称</th>
						<th>体积大小</th>
						<th>缩略图</th>
						<th width="180">操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="vo">
					<tr>
						<th width="50">{$vo['id']}</th>
						<th>{$vo['sort']}</th>
						<th>{$vo['cname']}</th>
						<th>{$vo['name']}</th>
						<th>{$vo['volume']}</th>
						<th><img style="width:60px;height:60px;" src="{:cmf_get_image_preview_url($vo['photo_urls'])}"/></th>
						<th width="180">
						<!--  <a href="{:url('VolumeCategory/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>-->
						  
                        <a href="{:url('admin_volume/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
						</th>
					</tr>
					</volist>
				</tbody>
				
			</table>
			<div class="table-actions">
				<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>